package de.fhkoeln.avs.main;

import de.fhkoeln.avs.graphbuild.StrategyForInfiniteGraph;
import de.fhkoeln.avs.parallelbreadthfirstsearch.StrategyParallelBreadthFirstForInfiniteGraph;
import de.fhkoeln.avs.strategypattern.Context;

/**
 * Main Class for the PBFS Test Module
 *
 */
public class Main 
{
    public static void main( String[] args )
    {
        Context c = new Context();
        c.setBuildGraphStrategy(new StrategyForInfiniteGraph());
        c.setSearchStrategy(new StrategyParallelBreadthFirstForInfiniteGraph());
        
        c.buildGraph();
        c.search("lkw", "pkw");
    }
}
